import Vue from 'vue';
import Router from 'vue-router';
// import Home from '../views/common/Home.vue';
import LayoutHome from '@/views/classic/LayoutHome.vue';
import YjdwfbHome from '@/views/wsyj/YjdwfbModule/YjdwfbHome.vue'; // 应急队伍分布
import WzxqyfbHome from '@/views/wsyj/WzxqyfbModule/WzxqyfbHome.vue'; // 应急物资分布
import ZhtsHome from '@/views/wsyj/ZhtsModule/ZhtsHome.vue'; // 综合态势
import BhfbHome from '@/views/wsyj/BhfbModule/BhfbHome.vue'; // 病患分布

Vue.use(Router);

export default new Router({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes: [
    // {
    //   path: '/',
    //   redirect: '/bhfb'
    // },
    {
      path: '/',
      name: 'ZhtsHome',
      component: ZhtsHome,
    },
    {
      path: '/bhfb',
      name: 'BhfbHome',
      component: BhfbHome,
    },
    {
      path: '/yjdwfb',
      name: 'YjdwfbHome',
      component: YjdwfbHome,
    },
    {
      path: '/Wzxqyfb',
      name: 'WzxqyfbHome',
      component: WzxqyfbHome,
    },
    {
      path: '/bhfb',
      name: 'BhfbHome',
      component: BhfbHome,
    },
    // {
    //  path: '/yljgfb',
   //   name: 'YljgfbHome',
    //  component: YljgfbHome,
    // }
  ],
});
